package net.wanho.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Author：汤小洋
 * Date：2024-12-13 9:39
 * Description：<描述>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Product对象", description = "商品对象")
public class Product implements Serializable {

    @ApiModelProperty("商品id")
    private Integer id;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品价格")
    private Double price;

    @ApiModelProperty("商品重量")
    private Double weight;
}
